/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

/**
 * <p>Project: jse2204 - Demo
 * <p>Powered by webrx On 2022-10-11 11:08:52
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */

@DisplayName("ERP项目测试")
public class Demo {


    @Test @DisplayName("求100和")
    void abc(){
        int sum = 0;
        for (int i = 0; i <= 100; i++) {
            sum+=i;
        }
        System.out.println(sum);
    }

    @Test
    @DisplayName("hello world测试一")
    void m1() {
        System.out.println("hello world");
        System.out.println(System.getProperty("java.version"));
        System.out.println(System.getProperty("java.home"));
        System.out.println(System.getProperty("os.name"));
        System.out.println(System.getProperty("user.dir"));
        System.out.println(System.getProperty("user.home"));
        for (int i = 0; i < 3; i++) {
            System.out.printf("%03d %n", i);
        }
    }


    @Test
    @DisplayName("测试连接mysql")
    void m2() {
        System.out.println("数据库连接测试");
    }
}
